<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Status
 *
 * @author QuangKhoi
 */
class Status {
    public $code;
    public $location;
    public $message;
    
    public function __construct() {
        
    }
    
    public static function withCode($code, $message) {
        $instance = new self();
        $instance->code = $code;
        $instance->message = $message;
        return $instance;
    }
}

?>
